<?php
set_include_path('../library/'.PATH_SEPARATOR.get_include_path());
set_include_path('../library/Doctrine/lib/'.PATH_SEPARATOR.get_include_path());
set_include_path('../application/'.PATH_SEPARATOR.get_include_path());
set_include_path('../application/Controller/'.PATH_SEPARATOR.get_include_path());
set_include_path('../application/Model/'.PATH_SEPARATOR.get_include_path());

// Ruta donde estaran los modelo generados por doctrine
set_include_path('../application/Model/Doctrine/'.PATH_SEPARATOR.get_include_path());
set_include_path('../application/Model/Doctrine/generated/'.PATH_SEPARATOR.get_include_path());

require_once('Model3/Loader.php');
Model3_Loader::registerAutoload();


//inicio de la aplicacion
Model3_Site::initSite('../application/Configuration/config.ini');

Model3_Site::dispatch(new Model3_Request);

